package com.bbc.starter.prop;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
public class IpStarterProperties {

    private String display = DisplayMode.SIMPLE.value;

    @AllArgsConstructor
    @Getter
    public enum DisplayMode{
        SIMPLE("simple"),
        DETAIL("detail");
        private String value;
    }

}
